package com.lh.Mybatis.model;

/**
 * 作者：idea
 * 日期：2018/7/5
 * 描述：
 */
public class Dept {
    public int deptNo;
    public String deptName;

    public int getDeptNo() {
        return deptNo;
    }

    public void setDeptNo(int deptNo) {
        this.deptNo = deptNo;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public Dept(int deptNo, String deptName) {
        this.deptNo = deptNo;
        this.deptName = deptName;
    }

    public Dept(){

    }

    @Override
    public String toString() {
        return "[" +
                "deptNo=" + deptNo +
                ", deptName='" + deptName + '\'' +
                ']';
    }
}
